package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.dto.RechargeQueryDto;
import com.csun.cmny.provider.pojo.OldmanFee;
import com.csun.cmny.provider.vo.SettleDetailVo;

import java.util.List;
import java.util.Map;


public interface OldmanFeeMapper {
    int deleteByOldmanId(Integer key);

    int insert(OldmanFee record);

    int insertSelective(OldmanFee record);

    OldmanFee selectByPrimaryKey(Integer key);

    int updateByPrimaryKeySelective(OldmanFee record);

    int updateByPrimaryKey(OldmanFee record);

    OldmanFee selectByOldmanId(Integer oldmanId);

    List<Map<String,Object>> showAll(Map<String,Object> queryMap);

    SettleDetailVo getSettleByOid(Integer oldmanId);

    /**
     * 乐怡分页查询充值记录
     * @param: [rechargeQueryDto]
     * @return: java.util.List<com.csun.cmny.provider.vo.SettleDetailVo>
     */
    List<SettleDetailVo> queryListWithPage(RechargeQueryDto rechargeQueryDto);
}